.class Lcom/noshufou/android/su/service/ResultService$1;
.super Ljava/lang/Object;
.source "ResultService.java"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/noshufou/android/su/service/ResultService;->sendNotification(JIIJLjava/lang/String;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/noshufou/android/su/service/ResultService;

.field private final synthetic val$gravity:I

.field private final synthetic val$notificationMessage:Ljava/lang/String;


# direct methods
.method constructor <init>(Lcom/noshufou/android/su/service/ResultService;Ljava/lang/String;I)V
    .locals 0
    .parameter
    .parameter
    .parameter

    .prologue
    .line 1
    iput-object p1, p0, Lcom/noshufou/android/su/service/ResultService$1;->this$0:Lcom/noshufou/android/su/service/ResultService;

    iput-object p2, p0, Lcom/noshufou/android/su/service/ResultService$1;->val$notificationMessage:Ljava/lang/String;

    iput p3, p0, Lcom/noshufou/android/su/service/ResultService$1;->val$gravity:I

    .line 128
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 4

    .prologue
    const/4 v3, 0x0

    .line 132
    iget-object v1, p0, Lcom/noshufou/android/su/service/ResultService$1;->this$0:Lcom/noshufou/android/su/service/ResultService;

    invoke-virtual {v1}, Lcom/noshufou/android/su/service/ResultService;->getApplicationContext()Landroid/content/Context;

    move-result-object v1

    .line 133
    iget-object v2, p0, Lcom/noshufou/android/su/service/ResultService$1;->val$notificationMessage:Ljava/lang/String;

    .line 132
    invoke-static {v1, v2, v3}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v0

    .line 134
    .local v0, toast:Landroid/widget/Toast;
    iget v1, p0, Lcom/noshufou/android/su/service/ResultService$1;->val$gravity:I

    if-lez v1, :cond_0

    .line 135
    iget v1, p0, Lcom/noshufou/android/su/service/ResultService$1;->val$gravity:I

    invoke-virtual {v0, v1, v3, v3}, Landroid/widget/Toast;->setGravity(III)V

    .line 137
    :cond_0
    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    .line 138
    return-void
.end method
